import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'dart:convert';
import '../config/api.dart';
// String token;
// Future <void> _userToken()async{
//   SharedPreferences prefs=await SharedPreferences.getInstance();
//   token= json.decode(prefs.getString('token'));
//   gettoken(token).then((value) => {
//     print(value)
//   });
// }